package com.htu.courseService.websocket.facotry;

import lombok.RequiredArgsConstructor;
import org.springframework.stereotype.Component;

import java.util.Map;

/**
 * Created By JNNarrator on 2024/9/21 23:25
 * email: jiangn09@chinatelecom.cn
 */
@Component
@RequiredArgsConstructor
public class SocketHandlerFactory {
	private final Map<String, AppFactory> factoryMap;
	public AppFactory getAppFactory(String app)
	{
		return factoryMap.get(app);
	}
	
}
